package com.hrzyit.whistle.cases.injection.module

import com.hrzyit.whistle.cases.service.IUploadService
import com.hrzyit.whistle.cases.service.impl.UploadServiceImpl
import dagger.Module
import dagger.Provides

/**
 * 上传文件模块 Module
 * @author YangWei
 * @date 2019/3/31
 */
@Module
open class UploadModule {

    /**
     * 文件上传 Service
     */
    @Provides
    fun provideIUploadService(service:UploadServiceImpl):IUploadService {
        // Dagger2 生成 service 实例对象
        return service
    }

}